# $Id: PKGBUILD 66275 2012-02-23 08:38:47Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Charles Mauch <cmauch@gmail.com>

pkgname=perlio-via-dynamic
pkgver=0.13
pkgrel=3
pkgdesc="Perl/CPAN Module PerlIO::via::dynamic"
arch=("any")
url="http://search.cpan.org/dist/PerlIO-via-dynamic"
license=("GPL" "PerlArtistic")
source=("http://www.cpan.org/authors/id/C/CL/CLKAO/PerlIO-via-dynamic-$pkgver.tar.gz")
md5sums=('3715f57c346f0c185e24fbc8f580b33b')

build() {
  cd $srcdir/PerlIO-via-dynamic-$pkgver
  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
  make
  make install DESTDIR=$pkgdir
  find $pkgdir -name '.packlist' -delete
  find $pkgdir -name '*.pod' -delete
}
